<table id="frmreportgeneral_tbl"  class="display dataTable ex_highlight width98"> 

<thead>
    <tr style="width:800px">
        <th >Đại lý</th>
        <th >Tháng  </th>
        <th >Tổng Thu</th>
        <th >Hoa Hồng Đại Lý</th>
        <th >Tiền Nộp Cho Công Ty</th>    
   </tr>
</thead>
<tbody >
    <tr>
    <td >[blk_data.name;]</td>
    <td >[blk_data.date_created;.] </td>
    <td >[blk_data.timeend;.] </td>
    <td >[blk_data.duration;.] </td>
    <td >[blk_data.startperson;.] </td>
    <td >[blk_data.endperson;.] </td>
    <td >[blk_data.price;.] </td>
    <td ><a href="#" title="xem chi tiet san pham" onclick="frmreportgeneral_openDetail('[blk_data.generate_id;.]','[blk_data.timebegin;.]','[blk_data.timeend;.]','[blk_data.roomname;.]');">[blk_data.productprice;.] </a></td>
    <td >[blk_data.totalprice;.] </td>
    </tr>
</tbody>
<tfoot>
 <tr >
        <td colspan="6">Tổng cộng</td>
        <td >[blk_data_sum.price;block=tr;.]</td>
        <td >[blk_data_sum.productprice;.]</td>
        <td >[blk_data_sum.totalprice;.]</td>
   </tr>
</tfoot>
</table>